package com.itheima.springbootwebtlias.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Student {
    private Integer id;
    private String name;
    private Integer no;
    private Integer gender;
    private String phone;
    private Integer degree;
    private Integer clazzId;
    private String idCard;
    private Integer isCollege;
    private String address;
    private LocalDate graduationDate;

    private Integer violationCount;
    private Integer violationScore;

    private LocalDateTime createTime; //创建时间
    private LocalDateTime updateTime; //修改时间

    //班级名称
    private String clazzName;
}
